package edu.metrostate.capstonediner;

public class GameText implements DrawableText {
	protected String text;
	protected float x;
	protected float y;
	protected int layer;
	protected float fontSize;
	protected int font;
	
	public GameText() {
		text = "";
		x = 0;
		y = 0;
		layer = Constants.TEXT_LAYER;
		fontSize = Constants.DEFAULT_FONT_SIZE;
		font = Constants.DEFAULT_FONT;
	}
	
	public GameText(String text, float x, float y, int layer, float fontSize, int font) {
		this.text = text;
		this.x = x;
		this.y = y;
		this.layer = layer;
		this.fontSize = fontSize;
		this.font = font;
	}
	
	@Override
	public String getText() {
		return text;
	}
	
	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}
	
	@Override
	public float getX() {
		return x;
	}
	
	/**
	 * @param x the x to set
	 */
	public void setX(float x) {
		this.x = x;
	}
	
	@Override
	public float getY() {
		return y;
	}
	
	/**
	 * @param y the y to set
	 */
	public void setY(float y) {
		this.y = y;
	}
	
	@Override
	public int getLayer() {
		return layer;
	}
	
	/**
	 * @param layer the layer to set
	 */
	public void setLayer(int layer) {
		this.layer = layer;
	}
	
	@Override
	public float getFontSize() {
		return fontSize;
	}
	
	/**
	 * @param fontSize the fontSize to set
	 */
	public void setFontSize(float fontSize) {
		this.fontSize = fontSize;
	}
	
	@Override
	public int getFont() {
		return font;
	}
	
	/**
	 * @param font the font to set
	 */
	public void setFont(int font) {
		this.font = font;
	}
}
